/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package com.plian.system.service.fr.bank;

import com.plian.system.dto.fr.bank.BankCurrentHistoryDTO;
import com.plian.system.entity.fr.bank.BankCurrentHistory;
import com.plian.system.mybatis.base.BaseService;
import com.plian.system.vo.fr.bank.DepositStatisticsVO;
import com.plian.system.vo.report.PieChartVO;

import java.util.List;

/**
 * 服务类
 *
 * @author
 * @since 2019-09-27
 */
public interface IBankCurrentHistoryService extends BaseService<BankCurrentHistory> {

//    /** TODO DEL
//     * 存款余额表格统计
//     * @param bankCurrentHistoryDTO
//     * @return
//     */
//    ReportReturnVO dStatistics(BankCurrentHistoryDTO bankCurrentHistoryDTO);

    /**
     * 存款余额分布
     * @param bankCurrentHistoryDTO
     * @return
     */
    PieChartVO distribution(BankCurrentHistoryDTO bankCurrentHistoryDTO);

    /**
     * 存款余额占比
     * @param bankCurrentHistoryDTO
     * @return
     */
    PieChartVO proportion(BankCurrentHistoryDTO bankCurrentHistoryDTO);

//    /**
//     * 开户情况统计
//     * @param bankCurrentHistoryDTO
//     * @return
//     */
//    ChartsVO kStatistics(BankCurrentHistoryDTO bankCurrentHistoryDTO);
//
//    /**
//     * 存款月度环比
//     * @param bankCurrentHistoryDTO
//     * @return
//     */
//    ChartsVO monthOnMonth(BankCurrentHistoryDTO bankCurrentHistoryDTO);
//
//    /**
//     * 存款结构表格统计
//     * @param bankCurrentHistoryDTO
//     * @return
//     */
//    ReportReturnVO structureStatistics(BankCurrentHistoryDTO bankCurrentHistoryDTO);
//
//    /**
//     * 存款余额分布
//     * @param bankCurrentHistoryDTO
//     * @return
//     */
//    PieChartVO structureDistribution(BankCurrentHistoryDTO bankCurrentHistoryDTO);
//
//    /**
//     * 结构性存款金额
//     * @param bankCurrentHistoryDTO
//     * @return
//     */
//    PieChartVO structureCompany(BankCurrentHistoryDTO bankCurrentHistoryDTO);
//
//    /**
//     * 存款金额
//     * @param param
//     * @return
//     */
//    Double getDepositBalance(Map<String,Object> param);
//
//    /**
//     * 市属国有企业银行账户及存贷款汇总
//     * @param pd
//     * @return
//     */
//    ListResult<PageData> getBankAccountAndDepositLoan(PageData pd);
//
//    /**
//     * 企业存款借款汇总
//     * @param pd
//     * @return
//     */
//    R<PageData> getSummarydepositsloans(PageData pd);
//
//    /**
//     * 返回银行资金企业汇总信息
//     * @param pd
//     * @return
//     */
//    ListResult<PageData> getCompanySummary(PageData pd);

    /**
     * @Description: //TODO 获取存款结构
     * @Author: Take-off
     * @Date: 11:10 AM 2023/3/9
     * @Param: [bankCurrentHistoryDTO]
     * @return: java.util.List<com.plian.system.vo.fr.bank.DepositStatisticsVO>
     **/
    List<DepositStatisticsVO> statistics(BankCurrentHistoryDTO bankCurrentHistoryDTO);


}
